// 列表查询条件配置
export const formOption = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prjName',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '名称'
        },
        {
            type: 'input',
            prop: 'siteId',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '站址编号'
        },
        {
            type: 'input',
            prop: 'siteName',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '站址名称'
        },
        {
            type: 'select',
            prop: 'prjStage',
            value: '',
            colSpan: 6,
            clearable: true,
            dicType: 'PROJECT_STAGE',
            label: '项目阶段',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'input',
            prop: 'sendCode',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '派单编码'
        },
        {
            type: 'select',
            prop: 'dispatchType',
            value: '',
            colSpan: 6,
            clearable: true,
            dicType: 'TDISPATCH_TYPE',
            label: '派单类型',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'datePicker',
            prop: 'deadlineArr',
            dateType: 'daterange',
            value: '',
            width: '',
            colSpan: 6,
            label: '解决期限',
            clearable: true,
            format: 'yyyy-MM-dd',
            valueFormat: 'yyyy-MM-dd'
        },
        {
            type: 'input',
            prop: 'taskTitle',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '任务标题'
        },
        {
            type: 'select',
            prop: 'processingProgress',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '处理进度',
            dicType: 'PRESS_STATUS',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'input',
            prop: 'sendName',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '派单人'
        }

    ]
}

// 列表表头/自定义字段设置-固定字段
export const colOption = [
    { label: '任务标题', width: '200', prop: 'taskTitle' },
    { label: '名称', width: '200', prop: 'prjName' },
    { label: '站址编码', width: '100', prop: 'siteId' },
    { label: '站址名称', width: '200', prop: 'siteName' },
    { label: '项目阶段', width: '100', prop: 'prjStage' },
    { label: '派单编码', width: '100', prop: 'sendCode' },
    { label: '派单类型', width: '100', prop: 'dispatchType' },
    { label: '解决期限', width: '150', prop: 'deadline' },
    { label: '处理时长', width: '100', prop: 'handlingTime' },
    { label: '处理进度', width: '100', prop: 'processingProgress' },
    { label: '转派/升级', width: '100', prop: 'sendModeName' },
    { label: '接单人', width: '120', prop: 'receiveName' },
    { label: '派单人', width: '120', prop: 'sendName' }
]

// 自定义字段设置-自定义字段
export const customCheckOption = [

]

// 列表按钮配置
export const btnOption = [
    { label: '结果导出', fun: 'exportFun', type: '' }
]

export const pressStateArr = [{ 'dictName': '处理中', 'dictId': '1' }, { 'dictName': '已完成', 'dictId': '2' }, { 'dictName': '已回退待重派', 'dictId': '3' }, { 'dictName': '请点击重派', 'dictId': '4' }]
